var i=1;
var result=0;
do{
    result += i;
    i++;
}
while(i<=100);
console.log(result);
